package com.sangu.dianxiu.bean.basedata;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 城市类
 * Created by sg2 on 2016/1/8.
 */
public class CityEntity implements Serializable{

    /**
     * rc : 0
     * cities : [{"id":2,"name":"衢州"},{"id":1,"name":"杭州"}]
     */

    private int rc;
    /**
     * id : 2
     * name : 衢州
     */

    private ArrayList<CitiesEntity> cities;

    public void setRc(int rc) {
        this.rc = rc;
    }

    public void setCities(ArrayList<CitiesEntity> cities) {
        this.cities = cities;
    }

    public int getRc() {
        return rc;
    }

    public ArrayList<CitiesEntity> getCities() {
        return cities;
    }

    public static class CitiesEntity {
        private int id;
        private String name;

        public void setId(int id) {
            this.id = id;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getId() {
            return id;
        }

        public String getName() {
            return name;
        }
    }
}
